import { createI18n } from 'vue-i18n';

import zhHome from './lang/zh-home';
import enHome from './lang/en-home';

const messages = {
  zh: {
    ...zhHome,
  },
  en: {
    ...enHome,
  },
};

const i18n = createI18n({
  locale: 'zh',
  allowComposition: true,
  messages,
});

export default i18n;
